/* 初始化 */
*{
    margin: 0;
    padding: 0;
}
.content{
    width: 80%;
    margin: 0 auto;
    overflow: hidden;  
}

/* header部分的样式 */
.header{
    background-color: #ffe300;
    color: #282828;
    height: 56px;
}
.header-left{
    float: left;
    width: 30%;
}
.header-left img{
    float: left;
    cursor: pointer;
    height: 23px;
    padding: 18px 0 18px 70px;
}
.header-mid{
    width: 40%;
    float: left;
}
.header-mid a{
    float: left;
    width: 12.5%;
    height: 56px;
    text-align: center;
    font-size: 14px;
    color: #282828;
    text-decoration: none;
    line-height: 56px;
}
.header-mid a:hover{
    color: #ffe300;
    background-color: #282828;
}
.header-mid a span{
    font-weight: 900;
}
.header-right{
    width: 30%;
    float: right;
}
.header-right ul{
    overflow: hidden;
    padding-right: 80px;
}
.header-right ul li{
    text-align: center;
    float: right;
    list-style: none;
    line-height: 60px;
    padding: 0 2.86%;
    font-size: 14px;
}
.header-right ul li div{        /*登录和注册中间的竖线*/
    background-color: #282828;
    width: 0.5px;
    height: 10px;
    margin-top: 25px;
}
.header-right img{
    float: right;
    padding: 17px 18px 14px 18px;
    height: 24px;
    line-height: 56px;
    cursor: pointer;
    filter:brightness(30%);
}
.header-right img:hover{
    filter: grayscale(0);
    background-color: #282828;
}
.header-right a{
    text-decoration: none;
    color: #282828;
}

/* banner部分的样式 */
.banner{

}
.banner-header{
    margin: 20px 0;
}
.banner-header img{
    width: 100%;
    border-radius: 4px;
    cursor: pointer;
}
.banner-footer{
    margin-right: -20px;
    overflow: hidden;
}
.banner-box{
    margin: 0 20px 44px 0;
    float: left;
    width: 227.07px;
    background-color: white;
    overflow: hidden;
    border-radius: 4px;
}
.banner-box img{
    width: 100%;
    border-radius: 4px;
    cursor: pointer;
}

/* 首页推荐部分 */
.recommend{
    background-color: #f4f4f4;  
}
.recommend-header{
    background-color: #ffffff;
    height: 50px;
    text-align: center;
}
.recommend-header a{
    color: #9b9b9b;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    line-height: 50px;
    margin: 0 30px;
}
.recommend-header a:hover{
    border-bottom: 2px solid #444444;
    padding: 13px 0;
    color:#444444;
}
.recommend-active{
    border-bottom: 2px solid #444444;
    padding: 13px 0;
}
.recommend-active span{
    color:#444444;
}
.recommend-header div{
    width: 60px;
    height: 2px;
    background-color: #444444;
    margin-left: 44.5%;
}
.recommend-body{
    overflow: hidden;
    margin: 0 auto;
    margin-top: 16px;
}
.recommend-L{
    margin-right: -20px;
    overflow: hidden;
}
.recommend-box{
    margin: 0 20px 20px 0;
    float: left;
    width: 227.07px;
    background-color: white;
    overflow: hidden;
    border-radius: 4px;
}
.recommend-box img{
    width: 100%;
    cursor: pointer;
}
.recommend-box>img:hover{
    transition: filter 0.12s ease-in-out;
    filter:brightness(1.08);
    filter: opacity(84%);
}
.word{
    padding: 11px 16px 13px 16px;
}
.title{
    text-decoration: none;
    font-size: 14px;
    color: #444444;
    display: block;
}
.title:hover{
    color: #db6f16;
}
.type{
    font-size: 12px;
    color: #bbbbbb;
    display: block;
    padding: 4px 0 18px 0;
}
.word img{
    float: left;
    width: 16px;
    cursor: pointer;
}
.view{
    float: left;
    color: #bbbbbb;
    font-size: 12px;
    margin: 0 10px 0 4px;
}
.comment{
    float: left;
    color: #bbbbbb;
    font-size: 12px;
    margin: 0 10px 0 4px;
}
.like{
    float: left;
    color: #bbbbbb;
    font-size: 12px;
    margin: 0 10px 0 4px;
}
.hr{
    width: 100%;
    height: 1px;
    background-color: #eeeeee;
    margin: 20px 0;
}
.user{
    padding: 0 16px;
    height: 40px;
}
.user img{
    float: left;
    width: 22px;
    border-radius: 11px;
    line-height: 22px;
    cursor: pointer;
}
.user a{
    float: left;
    font-size: 12px;
    height: 22px;
    line-height: 22px;
    margin-left: 10px;
    cursor: pointer;
}
.user a:hover{
    color: #db6f16;
}
.time{
    float: right;
    font-size: 12px;
    color: #9b9b9b;
    margin-top: 2px;
}

/* 页码部分样式 */
.page{
    background-color: #f4f4f4;
    padding: 20px 0 30px 0;
}
.page a{
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    line-height: 40px;
}
.page-body{
    margin-left: 30%;
    overflow: hidden;
}
.page-active{
    width: 40px;
    height: 40px;
    float: left;
    line-height: 40px;
    color: #333;
    border-radius: 4px;
    background-color: #ffe300;
    border: 1px solid #ffe300;
    margin: 0 4px;
    font-size: 14px;
}
.page-box{
    width: 40px;
    height: 40px;
    float: left;
    margin: 0 3px;
    border-radius: 4px;
    color: #9b9b9b;
    background-color: #ffffff;
    border: solid 1px #e9e9e9;
    font-size: 14px;
    cursor: pointer;
}
.page-box:hover{
    color: #333;
    background-color: #ffe300;
    border: 1px solid #ffe300;
}
.page-more{
    width: 40px;
    height: 40px;
    float: left;
    line-height: 40px;
    border-radius: 4px;
    color: #9b9b9b;
    background-color: #ffffff;
    border: solid 1px #e9e9e9;
    margin: 0 4px;
    font-size: 22px;
    font-weight: 100;
}
.page-more:hover{
    color: #333;
    background-color: #ffe300;
    border: 1px solid #ffe300;
}

/* 广告部分样式 */
.ad{
    background-color: #f4f4f4;
    padding: 0 0 20px 0;
}
.ad img{
    width: 100%;
    border-radius: 4px;
    cursor: pointer;
}

/* 推荐课程部分样式 */
.course{
    background-color: #f4f4f4;
}
.course-header h2{
    font-weight: 400;
    font-size: 14px;
    color: #9b9b9b;
    margin: 0 0 20px 0;
}
.course-body{
    margin-right: -20px;
    overflow: hidden;
}
.course-box{
    margin: 0 20px 20px 0;
    float: left;
    width: 227.07px;
    background-color: white;
    overflow: hidden;
    border-radius: 4px;
}
.course-box img{
    width: 100%;
    cursor: pointer;
}
.course-box img:hover{
    transition: .1s linear;
    filter:brightness(1.1);
    filter: opacity(80%);
}
.course-box a{
    text-decoration: none;
    font-size: 14px;
    color: #333;
    line-height: 40px;
    margin-left: 12px;
}
.course-box a:hover{
    color: #db6f16;
}

/* footer部分样式*/
.footer{
    height: 230px;
    background-color: #282828;
    color: #666666;
}
.footer-wrapper-top{
    height: 130px;
    width: 100%;
    float: left;
    border-bottom: 1px solid #333333;
}
.footer-wrapper-top ul{
    list-style: none;
}
.footer-wrapper-top ul li{
    width: auto;
    float: left;
    line-height: 100px;
}
.footer-wrapper-top ul li a{
    margin-right: 30px;
    font-size: 14px;
    color: #666666;
    text-decoration: none;
}
.footer-wrapper-top ul li a:hover{
    color: #999999;
}
.footer-wrapper-top img{
    max-height: 23px;
    margin-right: 10px;
    margin-top: -3px;
    vertical-align: middle;
}
.footer-wrapper-top-right{
    float: right;
}
.footer-wrapper-top-right ul{
    list-style: none;
}
.footer-wrapper-top-right ul li img{
    max-height: 20px;
    max-width: 20px;
    margin-left: 40px;
    filter: grayscale(100%);
}
.footer-wrapper-top-right ul li img:hover{
    filter: grayscale(0%);
}
.footer-wrapper-middle{
    width: 100%;
    height: 20px;
    margin-top: 20px;
    float: left;
}
.footer-wrapper-middle a{
    font-size: 12px;
    color: #666666;
    text-decoration: none;
}
.footer-wrapper-middle a:hover{
    color: #999999;
    text-decoration-line: underline;
}
.footer-wrapper-middle span{
    margin: 0 10px;
    font-size: 12px;
}
.footer-wrapper-middle img{
    max-width: 16px;
    vertical-align: middle;
}
.footer-wrapper-bottom{
    margin-top: 10px;
    float: left;
}
.footer-wrapper-bottom a{
    font-size: 12px;
    color: #666666;
    text-decoration: none;
}
#text{
    margin: 0;
    color: #666666;
    text-decoration: none;
}
.footer-wrapper-bottom a:hover{
    color: #999999;
    text-decoration-line: underline;
}
.footer-wrapper-bottom span{
    margin: 0 10px;
    font-size: 12px;
}
.footer-copy-right{
    font-size: 12px;
    float: right;
    margin-top: 10px;
}
.footer-copy-right a{
    font-size: 12px;
    color: #666666;
    text-decoration: none;
}
.footer-copy-right a:hover{
    color: #999999;
    text-decoration-line: underline;
}
/* 尾部二维码部分 */
.app{
    position: absolute;
}
.app::after{
    content: url(../img/QRcode.png);
    position: absolute;
    right: -40px;
    top: -80px;
    width:100px;
    height: 100px;
    background-color: white;
    border: 5px solid white;
    border-radius: 4px;
    transform: scale(0);
    opacity: 0;
}
.app:hover::after{
    transform:scale(1);
    opacity: 1;
}
.leftpx{
    margin-left: 60px;
    margin-right: 50px;
}